package com.kacheap.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.kacheap.service.DisruptorMqService;

@RestController
@RequestMapping("/disruptor/")
public class TestController {
	@Autowired
	private DisruptorMqService disruptorMqService;

	@GetMapping("test")
	public String test() throws Exception {
		disruptorMqService.sayHelloMq("Message execute");
		return "Successfult";
	}

}
